package com.ljq.servicepassengeruser.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "passenger_user")
public class PassengerUser {
    //用户id
    @TableId( type = IdType.ASSIGN_ID)
    private Long id;

    //创建时间
    @TableField( value = "gmt_create")
    private LocalDateTime gmtCreate;

    //修改时间
    @TableField( value = "gmt_modified")
    private LocalDateTime gmtModified;

    //手机号
    @TableField(value = "passenger_phone")
    private String passengerPhone;

    //姓名
    @TableField(value = "passenger_name")
    private String passengerName;

    //性别
    @TableField(value = "passenger_gender")
    private byte passengerGender;

    //状态
    private byte state;

}
